<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>示例3</title>
</head>
<body>
    <script>
        // const arr = [1,2,3]
        // console.log(arr)
        // arr.push(...[4,5,6])
        // console.log(arr)

        function add(x,y){
            console.log(x+y)
        }
        const numbers = [4,38]
        add(...numbers)
    </script>
</body>
</html>